<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Detail.Master" AutoEventWireup="true"
    CodeBehind="DriverEdit.aspx.cs" Inherits="MTC.Web.Forms.DriverEdit" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dxp" %>
<%@ Register Src="../Controls/NavMenu.ascx" TagName="NavMenu" TagPrefix="uc3" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dxtc" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dxw" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<asp:Content ID="ContentNav" ContentPlaceHolderID="CPSideBar" runat="server">
    <uc3:NavMenu ID="NavMenu1" runat="server" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="CPMain" runat="server">
    <asp:HiddenField ID="hfDriverId" runat="server" />
    <dxtc:ASPxPageControl ID="PageContents" runat="server" ActiveTabIndex="0" CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css"
        CssPostfix="Soft_Orange" ImageFolder="~/App_Themes/Soft Orange/{0}/" 
        Width="100%" LoadingPanelText="" TabSpacing="2px" 
        onactivetabchanged="PageContents_ActiveTabChanged">
        <TabPages>
            <dxtc:TabPage Text="General">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <dxp:ASPxPanel ID="GeneralPane" runat="server" Width="600px">
                            <PanelCollection>
                                <dxp:PanelContent ID="PanelContent1" runat="server">
                                    <table>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblFirstName" runat="server" Text="First Name">
                                                </dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtFirstName" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblLastName" runat="server" Text="Last Name"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtLastName" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblNickName" runat="server" Text="Nick Name"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtNickName" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblTitle" runat="server" Text="Title"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtTitle" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblGender" runat="server" Text="Sex"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="cboGender" runat="server" DataTextField="Description" DataValueField="GenderId">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblDateOfBirth" runat="server" Text="Date of Birth"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxDateEdit ID="txtDateofBirth" runat="server">
                                                </dxe:ASPxDateEdit>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblStreet1" runat="server" Text="Address Line 1"></dxe:ASPxLabel>
                                            </td>
                                            <td colspan="3">
                                                <dxe:ASPxTextBox ID="txtStreet1" runat="server" Width="370px"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblStreet2" runat="server" Text="Address Line 2"></dxe:ASPxLabel>
                                            </td>
                                            <td colspan="3">
                                                <dxe:ASPxTextBox ID="txtStreet2" runat="server" Width="370px"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblSuburb" runat="server" Text="Suburb"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtSuburb" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblState" runat="server" Text="State"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtState" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblPostcode" runat="server" Text="Post code"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtPostcode" runat="server" MaxLength="4"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                &nbsp;
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td style="width: 81px">
                                                &nbsp;
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblPhone" runat="server" Text="Telephone"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtPhone" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblMobile1" runat="server" Text="Mobile 1"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtMobile1" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblMobile2" runat="server" Text="Mobile 2"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtMobile2" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblTaxiLicience" runat="server" Text="Taxi Licience"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtTaxiLicience" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblDriverLicience" runat="server" Text="Driver Licience"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtDriverLicience" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblTaxiExpiryDate" runat="server" Text="Auth ID Exp"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxDateEdit ID="txtTaxiExpiryDate" runat="server">
                                                </dxe:ASPxDateEdit>
                                                                 </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblDriverLicienceExpiryDate" runat="server" Text="D/Lic Exp"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxDateEdit ID="txtDriverLicienceExpiryDate" runat="server">
                                                </dxe:ASPxDateEdit>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblABN" runat="server" Text="ABN"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtABN" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblCommenceDate" runat="server" Text="Commencement Date"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxDateEdit ID="txtCommenceDate" runat="server">
                                                </dxe:ASPxDateEdit>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblETagNumber" runat="server" Text="ETag Number"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtETagNumber" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td style="width: 81px">
                                                <dxe:ASPxLabel ID="lblETagAccount" runat="server" Text="ETag Account"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtETagAccount" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </dxp:PanelContent>
                            </PanelCollection>
                        </dxp:ASPxPanel>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
            <dxtc:TabPage Text="Rates">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <dxp:ASPxPanel ID="RatesPane" runat="server" Width="600px">
                            <PanelCollection>
                                <dxp:PanelContent ID="PanelContent2" runat="server">
                                    <table>
                                        <tr>
                                            <td colspan="2" align="center">
                                                <dxe:ASPxLabel ID="lblDay" runat="server" Text="Day"></dxe:ASPxLabel>
                                            </td>
                                            <td colspan="2" align="center">
                                                <dxe:ASPxLabel ID="lblNight" runat="server" Text="Night"></dxe:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblMondayDayRate" runat="server" Text="Monday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtMondayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblMondayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtMondayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblTuesdayDayRate" runat="server" Text="Tuesday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtTuesdayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblTuesdayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtTuesdayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblWednesdayDayRate" runat="server" Text="Wednesday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtWednesdayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblWednesdayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtWednesdayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblThursdayDayRate" runat="server" Text="Thursday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtThursdayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblThursdayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtThursdayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblFridayDayRate" runat="server" Text="Friday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtFridayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblFridayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtFridayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblSaturdayDayRate" runat="server" Text="Saturday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtSaturdayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblSaturdayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtSaturdayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxLabel ID="lblSundayDayRate" runat="server" Text="Sunday"></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtSundayDayRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxLabel ID="lblSundayNightRate" runat="server" Text=""></dxe:ASPxLabel>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtSundayNightRate" runat="server"></dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </dxp:PanelContent>
                            </PanelCollection>
                        </dxp:ASPxPanel>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
            <dxtc:TabPage Text="Schedule">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <dxp:ASPxPanel ID="SchedulesPane" runat="server" Width="600px">
                            <PanelCollection>
                                <dxp:PanelContent ID="PanelContent3" runat="server">
                                    To be implemented
                                </dxp:PanelContent>
                            </PanelCollection>
                        </dxp:ASPxPanel>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
            <dxtc:TabPage Text="Financials">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <dxp:ASPxPanel ID="ASPxPanel1" runat="server" Width="600px">
                            <PanelCollection>
                                <dxp:PanelContent ID="PanelContent4" runat="server">
                                    To be implemented
                                </dxp:PanelContent>
                            </PanelCollection>
                        </dxp:ASPxPanel>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
            <dxtc:TabPage Text="Comments">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <dxwgv:ASPxGridView ID="grdComments" runat="server" Width="100%" 
                            AutoGenerateColumns="False" DataSourceID="objComments" 
                            KeyFieldName="DriverCommentId" OnRowInserting="grdComments_RowInserting" 
                            OnRowUpdating="grdComments_RowUpdating" 
                            CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" 
                            CssPostfix="Soft_Orange">
                            <Columns>
                                <dxwgv:GridViewCommandColumn VisibleIndex="0">
                                    <EditButton Visible="True">
                                    </EditButton>
                                    <NewButton Visible="True">
                                    </NewButton>
                                    <DeleteButton Visible="True">
                                    </DeleteButton>
                                </dxwgv:GridViewCommandColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="DriverId" VisibleIndex="0" Visible ="false" >
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataDateColumn FieldName="CommentDate" VisibleIndex="1">
                                </dxwgv:GridViewDataDateColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="Comment" VisibleIndex="2">
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="DriverCommentId" VisibleIndex="3" Visible = "false">
                                </dxwgv:GridViewDataTextColumn>
                            </Columns>
                            <SettingsBehavior ConfirmDelete="true" />
                            <SettingsPager>
                                <AllButton>
                                    <Image Height="19px" Width="28px" />
                                </AllButton>
                                <FirstPageButton>
                                    <Image Height="19px" Width="23px" />
                                </FirstPageButton>
                                <LastPageButton>
                                    <Image Height="19px" Width="23px" />
                                </LastPageButton>
                                <NextPageButton>
                                    <Image Height="19px" Width="19px" />
                                </NextPageButton>
                                <PrevPageButton>
                                    <Image Height="19px" Width="19px" />
                                </PrevPageButton>
                            </SettingsPager>
                            <SettingsLoadingPanel Text="" />
                            <Paddings Padding="1px" />
                            <Images ImageFolder="~/App_Themes/Soft Orange/{0}/">
                                <CollapsedButton Height="14px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
                                <ExpandedButton Height="13px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
                                <DetailCollapsedButton Height="14px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
                                <DetailExpandedButton Height="13px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
                                <HeaderFilter Height="19px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilter.png" Width="19px" />
                                <HeaderActiveFilter Height="19px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilterActive.png" Width="19px" />
                                <HeaderSortDown Height="3px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortDown.png" Width="6px" />
                                <HeaderSortUp Height="3px" 
                                    Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortUp.png" Width="6px" />
                                <FilterRowButton Height="13px" Width="13px" />
                                <CustomizationWindowClose Height="18px" Width="18px" />
                                <PopupEditFormWindowClose Height="18px" Width="18px" />
                                <WindowResizer Height="12px" 
                                    Url="~/App_Themes/Soft Orange/GridView/WindowResizer.png" Width="12px" />
                                <FilterBuilderClose Height="18px" Width="18px" />
                            </Images>
                            <Styles CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" 
                                CssPostfix="Soft_Orange" GroupButtonWidth="28">
                                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                </Header>
                                <LoadingPanel ImageSpacing="10px">
                                </LoadingPanel>
                            </Styles>
                            <ImagesEditors>
                                <CalendarPrevYear Height="19px" 
                                    Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevYear.png" Width="23px" />
                                <CalendarPrevMonth Height="19px" 
                                    Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevMonth.png" Width="19px" />
                                <CalendarNextMonth Height="19px" 
                                    Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextMonth.png" Width="19px" />
                                <CalendarNextYear Height="19px" 
                                    Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextYear.png" Width="23px" />
                            </ImagesEditors>
                        </dxwgv:ASPxGridView>
                        <asp:ObjectDataSource ID="objComments" runat="server" 
                            SelectMethod="GetDriverComments" TypeName="MTC.Web.Business.Drivers" 
                            DeleteMethod="DeleteComment" InsertMethod="AddComment" 
                            UpdateMethod="UpdateComment">
                            <DeleteParameters>
                                <asp:Parameter Name="driverCommentId" Type="Int32" />
                            </DeleteParameters>
                            <InsertParameters>
                                <asp:Parameter Name="driverId" Type="Int32" />
                                <asp:Parameter Name="commentDate" Type="DateTime" />
                                <asp:Parameter Name="comment" Type="String" />
                            </InsertParameters>
                            <SelectParameters>
                                <asp:QueryStringParameter Name="DriverId" QueryStringField="DriverId" 
                                    Type="Int32" />
                            </SelectParameters>
                            <UpdateParameters>
                                <asp:Parameter Name="driverCommentId" Type="Int32" />
                                <asp:Parameter Name="driverId" Type="Int32" />
                                <asp:Parameter Name="commentDate" Type="DateTime" />
                                <asp:Parameter Name="comment" Type="String" />
                            </UpdateParameters>
                        </asp:ObjectDataSource>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
        </TabPages>
        <ContentStyle>
            <Border BorderColor="LightGray" BorderStyle="Solid" BorderWidth="3px" />
        </ContentStyle>
        <Paddings Padding="4px" />
    </dxtc:ASPxPageControl>
    <table width="600px">
        <tr>
            <td>
                &nbsp;<dxe:ASPxLabel ID="lblMessage" runat="server" ForeColor="red"></dxe:ASPxLabel>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click" />&nbsp;<asp:Button
                    ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
